package com.scl.test;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName UserClient
 * @Description TODO
 * @Author shengchenglong
 * @DATE 2019-06-12 15:42
 * @Version 1.0
 */
@FeignClient("service-user")
public interface UserClient {

    @GetMapping("/user/{timeout}")
    String timeout(@PathVariable("timeout") int timeout);

}
